package collector.app.nexd.com.singlecollection.widget;

import android.view.View;

/**
 * Created by xun on 2016/8/10.
 */
public class RecyclerItemClickListener implements View.OnClickListener {
    private int position;
    private OnRecyclerViewItemClickListener itemClickListener;

    public RecyclerItemClickListener(int position, OnRecyclerViewItemClickListener itemClickListener) {
        this.position = position;
        this.itemClickListener = itemClickListener;
    }

    @Override
    public void onClick(View v) {
        if (itemClickListener != null) {
            //itemClickListener.onClick(position, v);
        }
    }
}

